"""
    create by IAmFiveHigh on 2024/5/23
"""
from LA.Matrix import Matrix
from LA.QR import qr

if __name__ == '__main__':
    m1 = Matrix([[1, 1, 2],
                 [1, 1, 0],
                 [1, 0, 0]])
    q, r = qr(m1)
    print(f"q = {q}, r = {r}, qr = {q.dot(r)}")

